package com.zhangkunhao.notes.entity.DO;

import java.util.Date;

/**
 * 功德活动
 *
 * @author 张坤浩
 */
public class Activity {
    private Integer id;
    private Date deadline;
    /**
     * 限制报名人数
     */
    private Integer limitNumber;
    private String activityName;
    private Integer gainVirtue;
    /**
     * 活动参与者姓名
     */
    private String participantName;
    /**
     * 当前报名人数
     */
    private Integer currentPeopleNumber;

    public Activity() {
    }

    public Activity(Integer id, Date deadline, Integer limitNumber, String activityName, Integer gainVirtue, String participantName, Integer currentPeopleNumber) {
        this.id = id;
        this.deadline = deadline;
        this.limitNumber = limitNumber;
        this.activityName = activityName;
        this.gainVirtue = gainVirtue;
        this.participantName = participantName;
        this.currentPeopleNumber = currentPeopleNumber;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return deadline
     */
    public Date getDeadline() {
        return deadline;
    }

    /**
     * 设置
     *
     * @param deadline
     */
    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    /**
     * 获取
     *
     * @return limitNumber
     */
    public Integer getLimitNumber() {
        return limitNumber;
    }

    /**
     * 设置
     *
     * @param limitNumber
     */
    public void setLimitNumber(Integer limitNumber) {
        this.limitNumber = limitNumber;
    }

    /**
     * 获取
     *
     * @return activityName
     */
    public String getActivityName() {
        return activityName;
    }

    /**
     * 设置
     *
     * @param activityName
     */
    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    /**
     * 获取
     *
     * @return gainVirtue
     */
    public Integer getGainVirtue() {
        return gainVirtue;
    }

    /**
     * 设置
     *
     * @param gainVirtue
     */
    public void setGainVirtue(Integer gainVirtue) {
        this.gainVirtue = gainVirtue;
    }

    /**
     * 获取
     *
     * @return participantName
     */
    public String getParticipantName() {
        return participantName;
    }

    /**
     * 设置
     *
     * @param participantName
     */
    public void setParticipantName(String participantName) {
        this.participantName = participantName;
    }

    /**
     * 获取
     *
     * @return currentPeopleNumber
     */
    public Integer getCurrentPeopleNumber() {
        return currentPeopleNumber;
    }

    /**
     * 设置
     *
     * @param currentPeopleNumber
     */
    public void setCurrentPeopleNumber(Integer currentPeopleNumber) {
        this.currentPeopleNumber = currentPeopleNumber;
    }

    @Override
    public String toString() {
        return "Activity{id = " + id + ", deadline = " + deadline + ", limitNumber = " + limitNumber + ", activityName = " + activityName + ", gainVirtue = " + gainVirtue + ", participantName = " + participantName + ", currentPeopleNumber = " + currentPeopleNumber + "}";
    }
}
